package com.example.workflow.service;

import com.example.workflow.entity.SysProcess;
import com.example.workflow.vo.ProcessDetailVO;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface SysProcessService {
    List<SysProcess> listBySystemId(Long systemId);
    void addProcess(SysProcess process);
    void deleteProcess(Long id);
    SysProcess deployProcess(Long systemId, String name, String key, MultipartFile file) throws Exception;
    ProcessDetailVO getProcessDetail(Long id) throws Exception;
    SysProcess updateProcess(Long id, String name, String key, MultipartFile file) throws Exception;
} 